<!doctype html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>360°全景</title>
    <link rel="stylesheet" type="text/css" href="css/normalize.css"/>
    <link rel="stylesheet" type="text/css" href="css/default.css">
    <link rel="stylesheet" href="css/example1.css"/>
    <script src="js/three.min.js"></script>
    <script src="js/photo-sphere-viewer.min.js"></script>
    <!--[if IE]>
    <script src="http://libs.useso.com/js/html5shiv/3.7/html5shiv.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="htmleaf-container">

    <div id="content">

        <div id="container"></div>

    </div>
</div>

<script type="text/javascript">

    var div = document.getElementById('container');

    var PSV = new PhotoSphereViewer({
        // Path to the panorama
        panorama: 'sun.jpg',

        // Container
        container: div,

        // Deactivate the animation
        time_anim: false,

        // Display the navigation bar
        navbar: true,

        // Resize the panorama
        size: {
            width: window.innerWidth,
            height: window.innerHeight
        },
        loading_msg: '加载中。。。'
    });
</script>
</body>
</html>